package com.njtoyo.taxi.admin.service.business;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.njtoyo.taxi.admin.mapper.master.entity.SimpleCall;
import com.njtoyo.taxi.admin.rest.presenter.business.simple_call.ListPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.simple_call.SimpleCallQueryWrapper;
import com.njtoyo.taxi.entity.backend.AdminUser;
import com.taxi.entity.common.RestResult;

public interface BusinessSimpleCallService {
    RestResult<IPage<ListPresenter>> getList(AdminUser adminUser,SimpleCallQueryWrapper wrapper);

    RestResult<SimpleCall> detail(Long id);

    RestResult<SimpleCall> cancel(Long id);

    RestResult getHisoryOriginTop3ByPhone(String phone);

    RestResult getLoginUserCall();

    RestResult reCallById(Long id);

    RestResult getReCallInfo(Long id);
}
